package com.pioneer.gui.invoice.view;

import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.JLabel;

public class LabelPanel
extends JPanel
{

	public LabelPanel(JLabel l, Component c)
	{
		this.setBackground(new Color(0,0,150));
		this.setLayout(new BorderLayout());
		l.setForeground(Color.white);
		l.setHorizontalAlignment(SwingConstants.CENTER);
		this.add(l,BorderLayout.NORTH);
		this.add(c,BorderLayout.CENTER);	
	}
}